# -*- coding:utf-8 -*-

import os

class ConfigUtils:

    def __init__(self):
        pass

    IS_DEBUG = True

    class Dir:
        def __init__(self):
            pass

        curAbsPath = 'E:\\PythonProject\\AutoPublish'

        # 获取当前工作空间目录
        @staticmethod
        def get_cur_workspace_abs_path() -> str:
            return ConfigUtils.Dir.curAbsPath

        # 获取手机视频保存路径
        @staticmethod
        def get_phone_video_save_path() -> str:
            return 'sdcard/DCIM/Camera'

        @staticmethod
        def get_cur_workspace_project_abs_path() -> str:
            return os.path.join(ConfigUtils.Dir.get_cur_workspace_abs_path(), 'AutoPublish\\')

        # pyautoGui图片识别时的图片路径
        @staticmethod
        def get_img_dir_abs_path():
            return os.path.join(ConfigUtils.Dir.get_cur_workspace_abs_path(), 'AutoPublish\\_img\\')
